package com.vito.demo.kotlin

/**
 * Created by lingzhiyuan.
 * Date : 16/4/3.
 * Time : 下午9:03.
 * Description:
 *
 */

class Collections {

    companion object {
        @JvmStatic fun main(args: Array<String>) {
            print(listOf(1, 2, 3, 4).sumBy { it })
        }
    }

}